package com.ftf.tp.message.infrastructure.mapper.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author tanghao
 * @date 2022/8/29
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "notice_setting_config")
public class NoticeSettingConfig {
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 消息类型(0:互动消息 1:点赞消息 2:关注消息 3:收藏消息 4:更新消息)
     */
    @TableField(value = "`type`")
    private Integer type;

    /**
     * 对应的行为，逗号分隔
     */
    @TableField(value = "`action`")
    private String action;

    /**
     * 选项描述
     */
    @TableField(value = "`describe`")
    private String describe;

    /**
     * 通知渠道
     */
    @TableField(value = "notice_channel")
    private String noticeChannel;

    /**
     * 通知模板
     */
    @TableField(value = "notice_template")
    private String noticeTemplate;
}